package com.xique.door.mapper.estate;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xique.door.bean.dao.estate.EstateUserDeviceListDAO;
import com.xique.door.bean.domain.estate.EstateUserDevice;

import java.util.List;

/**
 * @author shd
 * @create 2022/6/9 16:03
 */
public interface EstateUserDeviceMapper extends BaseMapper<EstateUserDevice> {

    /**
     * 根据用户ids获取用户设备信息
     * @author shd
     * @date 2022/6/10 16:07
     * @param userIds
     * @return java.util.List<com.xique.door.bean.domain.estate.EstateUserDevice>
     */
    List<EstateUserDeviceListDAO> listByUserIds(List<Long> userIds);

    /**
     * @param id
     * @description: 删除与设备绑定的物业人员
     * @author taojc
     * @date: 2022/8/17
     */
    void deleteByUserId(Long id);
}
